/**
 */
package fUML.Semantics.Actions.CompleteActions;

import fUML.Semantics.Actions.BasicActions.ActionActivation;

import fUML.Syntax.Classes.Kernel.Classifier;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Read Is Classified Object Action Activation</b></em>'.
 * <!-- end-user-doc -->
 *
 * <!-- begin-model-doc -->
 * A read-is-classified object activation is an action activation for a
 *                 read-is-classified object action.
 * <!-- end-model-doc -->
 *
 *
 * @see fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage#getReadIsClassifiedObjectActionActivation()
 * @model
 * @generated
 */
public interface ReadIsClassifiedObjectActionActivation extends ActionActivation {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * <!-- begin-model-doc -->
	 * // Check if the given classifier matches any of the direct or indirect
	 *                   ancestors of a given type.
	 *  
	 *  ClassifierList directParents =
	 *                   type.general;
	 *  boolean matched = false;
	 *  int i = 1;
	 *  while
	 *                   (!matched & i <= directParents.size()) {
	 *  Classifier
	 *                   directParent = directParents.getValue(i-1);
	 *  if (directParent ==
	 *                   classifier) {
	 *  matched = true;
	 *  } else {
	 *  matched =
	 *                   this.checkAllParents(directParent, classifier);
	 *  }
	 *  i = i +
	 *                   1;
	 *  }
	 *  
	 *  return matched;
	 *  
	 * <!-- end-model-doc -->
	 * @model required="true" ordered="false" typeRequired="true" typeOrdered="false" classifierRequired="true" classifierOrdered="false"
	 * @generated
	 */
	boolean checkAllParents(Classifier type, Classifier classifier);

} // ReadIsClassifiedObjectActionActivation
